﻿Public Class NguoiDangTinDTO

    Private _MaDT As String
    Private _HotenDT As String
    Private _EmailDT As String
    Private _DienthoaiDT As String
    Private _DiachiDT As String
   


    Public Property Mã_đăng_tin() As String
        Get
            Return _MaDT
        End Get
        Set(ByVal value As String)
            _MaDT = value
        End Set
    End Property

    Public Property Họ_tên() As String
        Get
            Return _HotenDT
        End Get
        Set(ByVal value As String)
            _HotenDT = value
        End Set
    End Property

    Public Property Email() As String
        Get
            Return _EmailDT
        End Get
        Set(ByVal value As String)
            _EmailDT = value
        End Set
    End Property

    Public Property Điện_thoại() As String
        Get
            Return _DienthoaiDT
        End Get
        Set(ByVal value As String)
            _DienthoaiDT = value
        End Set
    End Property

    Public Property Địa_chỉ() As String
        Get
            Return _DiachiDT
        End Get
        Set(ByVal value As String)
            _DiachiDT = value
        End Set
    End Property

    Public Sub New(ByVal ID As String, ByVal PW As String, ByVal HT As String, ByVal NS As String, ByVal GT As String)
        Me._MaDT = ID
        Me._HotenDT = PW
        Me._EmailDT = HT
        Me._DienthoaiDT = NS
        Me._DiachiDT = GT
    End Sub

    Public Sub New(ByVal EmpID As String)
        Me._MaDT = EmpID
    End Sub

End Class
